package cn.jsony.system.mapper;

import cn.jsony.system.domain.Role;
import cn.jsony.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-07-20
 */
public interface RoleMapper extends BaseMapper<Role> {

    void delRoleMenuByRoleId(Long id);

    void delRolePermissionByRoleId(Long id);

    void addRoleMenu(Role role);

    void addRolePermission(Role role);

    void delEmployeeRoleByRoleId(Long id);
}
